<?php

namespace AApp\Http\Controllers\Api\V1\Queries;

use App\Models\OrderItem;
use Spatie\QueryBuilder\QueryBuilder;

class OrderItemQuery extends QueryBuilder
{
	public function __construct()
	{
		parent::__construct(OrderItem::query());
		
		$this->allowedIncludes('order', 'product', 'sku');
		$this->allowedFilters([
			'delivery_status',
		]);
	}
}
